﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Win.DAL;
using Win.Model;

namespace Win.BLL
{
    public class ManegerBLL
    {
        private ManegerDAL manegerDAL = new ManegerDAL();

        public List<ManagerInfo> GetManagerInfoList()
        {
            return manegerDAL.GetManegerList();
        }

        public void AddManager(ManagerInfo manager)
        {
            manegerDAL.SetManager(manager);
        }

        public void DeleteManagerById(int id)
        {
            manegerDAL.DeleteManagerById(id);
        }
    }
}
